package NsingCHM.Common;

/** 
 JavaScript ��ժҪ˵����
 
*/
public class JavaScript
{
	public JavaScript()
	{

	}
	/** 
	 ���� javascript �ĺ����� ���� abc()
	 
	 @param funName
	*/
	public static void runJs(String funName)
	{
		System.Web.UI.Page Mypage = (System.Web.UI.Page) System.Web.HttpContext.Current.Handler;
		Mypage.Page.RegisterStartupScript("","<script>" + funName + "</script>");
	}
}